* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  font-weight: bold;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: url('/pictures/Sign and log background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

form {
  display: inline-block;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 450px;
}
  
.text {
  margin-bottom: 20px;
  color: #190e0e;
  border-bottom: 2px solid #4CAF50;
  display: inline-block;
  padding-bottom: 5px;
  font-size: 24px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  display: block;
  margin: 15px auto;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.password-field {
  position: relative;
  display: block;
  margin: 15px auto;
  width: 100%;
}

.password-field input {
  margin: 0;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  width: auto;
  margin: 0;
}

.toggle-password:hover {
  color: #333;
  background: none;
  transform: translateY(-50%) scale(1.1);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

input:focus {
  outline: none;
  border-color: #4CAF50;
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 10px;
  width: 100%;
  max-width: 200px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

button:hover {
  background-color: #45a049;
}

button:active {
  transform: scale(0.98);
}

.remember-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  width: 100%;
}

.remember-container label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
}

.remember-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4CAF50;
  cursor: pointer;
  margin: 0;
}

.forgot-link-single {
  text-align: left;
  margin: 5px 0 15px 0;
  font-size: 13px;
}

.forgot-link-single a {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link-single a:hover {
  color: #45a049;
  text-decoration: underline;
}

p {
  margin: 15px 0;
  font-size: 14px;
}

a {
  color: #4CAF50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    padding: 15px;
    background-attachment: scroll;
  }
  
  form {
    padding: 25px 20px;
  }
  
  .text {
    font-size: 22px;
  }
  
  input[type="text"],
  input[type="password"],
  input[type="email"] {
    padding: 14px;
    font-size: 16px;
  }
  
  button {
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .forgot-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  form {
    padding: 20px 15px;
  }
  
  .text {
    font-size: 20px;
  }
  
  .remember-container label {
    font-size: 14px;
  }
  
  .forgot-links {
    font-size: 12px;
  }
}